﻿@{
    Layout = null;
    ViewBag.Nav = 1;
    ViewBag.Menu = 0;
    int ti = 1;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>病例录入</title>
    @Html.Partial("meta")
</head>
<body id="b_main">
    @Html.Partial("header")
    <!--/end #header-->
    <div id="wrapper">
        <!--holds pretty much everything-->
        @Html.Action("index", "news")
        <!--/end #menu_main-->
        <div id="content">
            @Html.Partial("nav")
            <!--/end .container1-->
            <table>
                <tr>
                    <td>
                        <div class="container2">
                            <div class="welcome_list">
                                <h4>
                                    未完成的病例</h4>
                                <div class="yframe">
                                    <table cellspacing="0" summary="table" class="broom_table">
                                        <tbody>
                                            <tr class="odd">
                                                <td>
                                                    病例号
                                                </td>
                                                <td>
                                                    填写人
                                                </td>
                                                <td>
                                                    创建时间
                                                </td>
                                            </tr>
                                            @if (ViewBag.NotComplete != null)
                                            {
                                                var o = 0;
                                                foreach (var HomeDoc in (List<Web.Controllers.IndexController.HomeDoc>)ViewBag.NotComplete)
                                                {
                                                    o++;
                                                <tr class="@(o % 2 == 0 ? "odd" : "even")">
                                                    <td>
                                                        <a href="/doc/editcommon?docid=@HomeDoc.Doc.DocID">@HomeDoc.Doc.DocID</a>
                                                    </td>
                                                    <td>
                                                        <a href="/doc/editcommon?docid=@HomeDoc.Doc.DocID">@HomeDoc.UserName</a>
                                                    </td>
                                                    <td>
                                                        <a href="/doc/editcommon?docid=@HomeDoc.Doc.DocID">@HomeDoc.Doc.TimeAdd.ToString("yyyy-MM-dd")</a>
                                                    </td>
                                                </tr>
                                                }
                                            }
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </td>
                    <td>
                        <div class="container2">
                            <div class="welcome_list">
                                <h4>
                                    待审核的病例</h4>
                                <div class="yframe">
                                    <table cellspacing="0" summary="table" class="broom_table">
                                        <tbody>
                                            <tr class="odd">
                                                <td>
                                                    病例号
                                                </td>
                                                <td>
                                                    填写人
                                                </td>
                                                <td>
                                                    创建时间
                                                </td>
                                            </tr>
                                            @if (ViewBag.NotAudit != null)
                                            {
                                                var o = 0;
                                                foreach (var HomeDoc in (List<Web.Controllers.IndexController.HomeDoc>)ViewBag.NotAudit)
                                                {
                                                 o++;
                                                <tr class="@(o % 2 == 0 ? "odd" : "even")">
                                                    <td>
                                                        <a href="/doc/editcommon?docid=@HomeDoc.Doc.DocID">@HomeDoc.Doc.DocID</a>
                                                    </td>
                                                    <td>
                                                        <a href="/doc/editcommon?docid=@HomeDoc.Doc.DocID">@HomeDoc.UserName</a>
                                                    </td>
                                                    <td>
                                                        <a href="/doc/editcommon?docid=@HomeDoc.Doc.DocID">@HomeDoc.Doc.TimeAdd.ToString("yyyy-MM-dd")</a>
                                                    </td>
                                                </tr>
                                                }
                                            }
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                            <!--/end #welcome_list-->
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="container2">
                            <div class="welcome_list">
                                <h4>
                                    随访的病例</h4>
                                <div class="yframe">
                                    <table cellspacing="0" summary="table" class="broom_table">
                                        <tbody>
                                            <tr class="odd">
                                                <td>
                                                    病例号
                                                </td>
                                                <td>
                                                    填写人
                                                </td>
                                                <td>
                                                    创建时间
                                                </td>
                                            </tr>
                                            @if (ViewBag.Suifang != null)
                                            {
                                                var o = 0;
                                                foreach (var HomeDoc in (List<Web.Controllers.IndexController.HomeDoc>)ViewBag.Suifang)
                                                {
                                                 o++;
                                                <tr class="@(o % 2 == 0 ? "odd" : "even")">
                                                    <td>
                                                        <a href="/doc/editcommon?docid=@HomeDoc.Doc.DocID">@HomeDoc.Doc.DocID</a>
                                                    </td>
                                                    <td>
                                                        <a href="/doc/editcommon?docid=@HomeDoc.Doc.DocID">@HomeDoc.UserName</a>
                                                    </td>
                                                    <td>
                                                        <a href="/doc/editcommon?docid=@HomeDoc.Doc.DocID">@HomeDoc.Doc.TimeAdd.ToString("yyyy-MM-dd")</a>
                                                    </td>
                                                </tr>
                                                }
                                            }
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </td>
                    <td>
                        <div class="container2">
                            <div class="welcome_list">
                                <h4>
                                    有质疑的病例</h4>
                                <div class="yframe">
                                    <table cellspacing="0" summary="table" class="broom_table">
                                        <tbody>
                                            <tr class="odd">
                                                <td>
                                                    病例号
                                                </td>
                                                <td>
                                                    填写人
                                                </td>
                                                <td>
                                                    创建时间
                                                </td>
                                            </tr>
                                            @if (ViewBag.Question != null)
                                            {
                                                var o = 0;
                                                foreach (var HomeDoc in (List<Web.Controllers.IndexController.HomeDoc>)ViewBag.Question)
                                                {
                                                 o++;
                                                <tr class="@(o % 2 == 0 ? "odd" : "even")">
                                                    <td>
                                                        <a href="/doc/editcommon?docid=@HomeDoc.Doc.DocID">@HomeDoc.Doc.DocID</a>
                                                    </td>
                                                    <td>
                                                        <a href="/doc/editcommon?docid=@HomeDoc.Doc.DocID">@HomeDoc.UserName</a>
                                                    </td>
                                                    <td>
                                                        <a href="/doc/editcommon?docid=@HomeDoc.Doc.DocID">@HomeDoc.Doc.TimeAdd.ToString("yyyy-MM-dd")</a>
                                                    </td>
                                                </tr>
                                                }
                                            }
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
            <!--/end .container2-->
            <div class="container1 separator">
                @*       <h4>
                    病例统计栏目</h4>
                <table cellspacing="0" summary="table" class="broom_table">
                    <tbody>
                        <tr class="odd">
                            <td>
                            </td>
                            <td>
                                填写数
                            </td>
                            <td>
                                未完成数
                            </td>
                            <td>
                                完成数
                            </td>
                            <td>
                                审核数
                            </td>
                            <td>
                                审核通过数
                            </td>
                            <td>
                                质疑病例数
                            </td>
                            <td>
                                修改病例数
                            </td>
                        </tr>
                        <tr class="even">
                            <td>
                                本人
                            </td>
                            <td>
                                0
                            </td>
                            <td>
                                0
                            </td>
                            <td>
                                0
                            </td>
                            <td>
                                0
                            </td>
                            <td>
                                0
                            </td>
                            <td>
                                0
                            </td>
                            <td>
                                0
                            </td>
                        </tr>
                    </tbody>
                </table>*@
            </div>
        </div>
    </div>
    <div class="clear">
    </div>
</body>
</html>
